import instance from '../axios/axios.js'
// 登录
const logina = async (data) => {
    console.log(data)
    return await instance.post("/users/login", data);
}
// const getdata = async () => {
//     return await instance.get("/users/back");
// }
const loginOut=async ()=>{
    return await instance.get("users/logout")
}

export { logina , loginOut }
